VideoBitrate

interface VideoBitrate

Selects how the video bitrate of ExportVideoOptions is determined.

Inheritors

Types

Link copied to clipboard
data object Auto : VideoBitrate

A bounded default video bitrate derived from the output resolution and framerate, consistent across platforms.

Link copied to clipboard
data class Custom(@IntRange(from = 1) val bitsPerSecond: Int) : VideoBitrate

An explicit video bitrate in bits per second.

Link copied to clipboard
data object System : VideoBitrate

Let the platform encoder choose the bitrate (the default). On Android there is no encoder-internal default, so this resolves to the same bounded resolution/framerate default as Auto.